package com.liyuxiang.feign.client;

import com.liyuxiang.feign.entity.MedicalCaseDto;
import com.liyuxiang.feign.vm.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "service-appointment", path = "/appointment/medical/case")
@Component
public interface MedicalCaseClient {
    @PostMapping()
    ResponseResult<Void> add(@RequestBody MedicalCaseDto medicalCaseDto);
}
